package com.om.common;

import java.util.HashMap;

public class BaseCustomerExecption extends Exception {
   protected String code="";
   protected String msg="";
   protected String description="";
   protected String throwTime="";
   protected HashMap<String, Object> data = new HashMap<String, Object>();
   
   public BaseCustomerExecption(String code,String msg,String description){
	  this.code = code;
	  this.msg = msg;
	  this.description = description;
	  this.throwTime = TimeStampToInt.systemTime();
   }
   
   public BaseCustomerExecption(String code,String msg){
	  this.code = code;
	  this.msg = msg;
	  this.throwTime = TimeStampToInt.systemTime();
   }
   
   public BaseCustomerExecption(String code,HashMap<String, Object> data){
	  this.code = code;
	  this.data = data;
	  this.throwTime = TimeStampToInt.systemTime();
   }
	
   


	

}
